{{define "home/login"}}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
    <form id="userLogin" name="userLogin" action="/api/login" method="POST">
        <div>
            <h2>用户登录</h2>
            <div>
                <label>用户名：</label>
                <input type="text" id="username" name="username" />
            </div>
            <div>
                <label>密码：</label>
                <input type="password" id="password" name="password" />
            </div>
            <div>
                <button type="submit">登录</button>
            </div>
        </div>
    </form>
</body>
</html>
{{end}}